package com.itheima02.service;

import com.itheima02.bean.Student;

import java.util.List;

public interface StudentService {
    List<Student> findByIds(List<Integer> ids);

    List<Student> findCondition(Student stu);

    List<Student> findByNameOrAge(String name, Integer age);

    List<Student> selectAll();

    Student selectById(Integer id);

    int insert(Student stu);

    int delete(Integer id);

    int update(Student stu);
}
